<?php
/**
 * 主配置文件
 * User: ttt
 * Date: 2016/10/28
 * Time: 10:01
 */

return [

    'appPath'=>dirname(__DIR__).'/app',

    'route'=>include __DIR__.'/routes.php',

    'components'=>[
        'db'=>[
            'class'=>\Ftt\db\Connection::class,
            'dsn'=>'mysql:host=localhost;dbname=blog',
            'username'=>'root',
            'password'=>'root',
            'charset'=>'utf8',
            'tablePrefix'=>'',

        ]
    ]
];

